import { createAction, props } from '@ngrx/store';
import { PersonListItem, State } from '../reducers/person.reducer';

export const addPersonListItem = createAction(
  'addPersonListItem',
  props<{ payload: PersonListItem }>()
);
export const deletePersonListItem = createAction(
  'deletePersonListItem',
  props<{ payload: State }>()
);
export const changeStatus = createAction(
  'changeStatus',
  props<{ payload: State }>()
);
